<template>
  <div>
    御剑乘风来,除魔天地间!===={{ app }}
    <Father2></Father2>
  </div>
</template>
<script>
import Father2 from './provide/Father2.vue';
export default {
  name: '',
  components: {
    Father2
  },
  data () {
    return {
      app: '我是第一代'
    }
  },
  provide(){
    return{
    app: this.app,
    gai: this.xiugai
  }
  },
  created () {
  },
  computed: {
  },
  methods: {
    xiugai (str) {
      this.app = str
    }
  }
}
</script>
<style lang='less'  scoped>
</style>
